package com.zhong.gang.app.ui.zhuchang.changsure.modle;

import com.zhong.gang.applib.bean.MaterialBean;

import java.util.List;

public class FaHuoChangBean {

    /**
     * id : 1
     * createTime : 2020-01-19T13:59:52.000+0000
     * updateTime : 2020-01-19T13:59:52.000+0000
     * version : 0
     * deleted : false
     * createTimestamp : 1579442392000
     * updateTimestamp : 1579442392000
     * sn : DCQR-20200119215951887
     * orderSendId : 2
     * contractId : 1
     * steelMillGrossWeight : 100
     * steelMillTareWeight : 1
     * steelMillNetWeight : 99
     * qualityCheckResult : false
     * steelMillSlagWeight : 0
     * steelMillFinalWeight : 99
     * steelMillQualityPhoto :
     * steelMillPoundPhoto : http://zgtrade.oss-cn-zhangjiakou.aliyuncs.com/files/6tl0nup7tn6wayj5c6le.png
     * type : 0
     * done : false
     * orderSend : {"id":2,"createTime":"2019-12-23T16:49:02.000+0000","updateTime":"2019-12-23T16:49:04.000+0000","version":0,"deleted":false,"createTimestamp":1577119742000,"updateTimestamp":1577119744000,"sn":"S00000001","poundOrderId":2,"dispatchingCarId":1,"slagWeight":0,"personCarPhoto":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1577428642939&di=004bbbff1a8519e83c7827fc23554500&imgtype=0&src=http%3A%2F%2Fg.hiphotos.baidu.com%2Fzhidao%2Fpic%2Fitem%2Fc83d70cf3bc79f3d6e7bf85db8a1cd11738b29c0.jpg","fullPhoto":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1577428642939&di=004bbbff1a8519e83c7827fc23554500&imgtype=0&src=http%3A%2F%2Fg.hiphotos.baidu.com%2Fzhidao%2Fpic%2Fitem%2Fc83d70cf3bc79f3d6e7bf85db8a1cd11738b29c0.jpg","steelMillMaterialType":1,"payStatus":0,"materialYardId":1,"endLocalType":0,"done":false,"poundOrder":null,"orderMaterialTypeDetailList":[],"orderSendDispatchingCar":{"id":1,"createTime":"2019-12-21T16:11:43.000+0000","updateTime":"2019-12-21T16:11:43.000+0000","version":0,"deleted":false,"createTimestamp":1576944703000,"updateTimestamp":1576944703000,"startLocalId":1,"type":0,"endLocalId":2,"distance":100,"transportCarId":1,"price":8,"sn":"","qr":"","payStatus":false,"payAmount":0,"carNum":"京A88899","carTypeName":"拖斗车","startLocal":"江北料场","endLocal":"渝北料场","transportCar":{"id":1,"createTime":"2019-12-21T15:02:03.000+0000","updateTime":"2020-01-13T15:04:58.000+0000","version":20,"deleted":false,"createTimestamp":1576940523000,"updateTimestamp":1578927898000,"carNum":"京A88899","carTypeId":1,"driverName":"张飞1","driverPhone":"12345678902","carStatus":0,"carType":{"id":1,"createTime":"2019-12-21T15:01:07.000+0000","updateTime":"2019-12-21T15:01:10.000+0000","version":0,"deleted":false,"createTimestamp":1576940467000,"updateTimestamp":1576940470000,"name":"拖斗车"}}},"steelMillMaterialTypeStr":"重废一"}
     * orderExternal : null
     * contract : {"id":1,"createTime":"2020-01-13T15:07:10.000+0000","updateTime":"2020-01-13T15:07:10.000+0000","version":0,"deleted":false,"createTimestamp":1578928030000,"updateTimestamp":1578928030000,"steelMillId":10,"sn":"合同编号1","steelMillName":"重刚","contractMaterialTypes":[{"id":1,"createTime":"2020-01-13T15:07:10.000+0000","updateTime":"2020-01-13T15:07:10.000+0000","version":0,"deleted":false,"createTimestamp":1578928030000,"updateTimestamp":1578928030000,"contractId":1,"materialTypeId":1,"contractWeight":0,"contractPrice":0,"completeWeight":0,"completePercent":0,"onWayWeight":0,"contractSn":"合同编号1","steelMillName":"重刚","materialTypeName":"重废一"}]}
     */

    private int id;
    private String createTime;
    private String updateTime;
    private int version;
    private boolean deleted;
    private long createTimestamp;
    private long updateTimestamp;
    private String sn;
    private int orderSendId;
    private int contractId;
    private double steelMillGrossWeight;
    private double steelMillTareWeight;
    private double steelMillNetWeight;
    private boolean qualityCheckResult;
    private double steelMillSlagWeight;
    private double steelMillFinalWeight;
    private String steelMillQualityPhoto;
    private String steelMillPoundPhoto;
    private List<MaterialBean> orderMaterialTypeDetailList;
    private int type;
    private int floatType;
    private double floatAmount;
    private double steelMillFinalAmount;
    private boolean done;
    private int payType;
    private OrderSendBean orderSend;
    private OrderExternal orderExternal;
    private OrderTransfer orderTransfer;
    private ContractBean contract;

    public List<MaterialBean> getOrderMaterialTypeDetailList() {
        return orderMaterialTypeDetailList;
    }

    public void setOrderMaterialTypeDetailList(List<MaterialBean> orderMaterialTypeDetailList) {
        this.orderMaterialTypeDetailList = orderMaterialTypeDetailList;
    }

    public int getPayType() {
        return payType;
    }

    public void setPayType(int payType) {
        this.payType = payType;
    }

    public OrderTransfer getOrderTransfer() {
        return orderTransfer;
    }

    public void setOrderTransfer(OrderTransfer orderTransfer) {
        this.orderTransfer = orderTransfer;
    }

    public void setSteelMillGrossWeight(double steelMillGrossWeight) {
        this.steelMillGrossWeight = steelMillGrossWeight;
    }

    public void setSteelMillTareWeight(double steelMillTareWeight) {
        this.steelMillTareWeight = steelMillTareWeight;
    }

    public int getFloatType() {
        return floatType;
    }

    public void setFloatType(int floatType) {
        this.floatType = floatType;
    }

    public double getFloatAmount() {
        return floatAmount;
    }

    public void setFloatAmount(double floatAmount) {
        this.floatAmount = floatAmount;
    }

    public double getSteelMillFinalAmount() {
        return steelMillFinalAmount;
    }

    public void setSteelMillFinalAmount(double steelMillFinalAmount) {
        this.steelMillFinalAmount = steelMillFinalAmount;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public long getCreateTimestamp() {
        return createTimestamp;
    }

    public void setCreateTimestamp(long createTimestamp) {
        this.createTimestamp = createTimestamp;
    }

    public long getUpdateTimestamp() {
        return updateTimestamp;
    }

    public void setUpdateTimestamp(long updateTimestamp) {
        this.updateTimestamp = updateTimestamp;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public int getOrderSendId() {
        return orderSendId;
    }

    public void setOrderSendId(int orderSendId) {
        this.orderSendId = orderSendId;
    }

    public int getContractId() {
        return contractId;
    }

    public void setContractId(int contractId) {
        this.contractId = contractId;
    }

    public double getSteelMillGrossWeight() {
        return steelMillGrossWeight;
    }

    public void setSteelMillGrossWeight(int steelMillGrossWeight) {
        this.steelMillGrossWeight = steelMillGrossWeight;
    }

    public double getSteelMillTareWeight() {
        return steelMillTareWeight;
    }

    public void setSteelMillTareWeight(int steelMillTareWeight) {
        this.steelMillTareWeight = steelMillTareWeight;
    }

    public double getSteelMillNetWeight() {
        return steelMillNetWeight;
    }

    public void setSteelMillNetWeight(double steelMillNetWeight) {
        this.steelMillNetWeight = steelMillNetWeight;
    }

    public boolean isQualityCheckResult() {
        return qualityCheckResult;
    }

    public void setQualityCheckResult(boolean qualityCheckResult) {
        this.qualityCheckResult = qualityCheckResult;
    }

    public double getSteelMillSlagWeight() {
        return steelMillSlagWeight;
    }

    public void setSteelMillSlagWeight(double steelMillSlagWeight) {
        this.steelMillSlagWeight = steelMillSlagWeight;
    }

    public double getSteelMillFinalWeight() {
        return steelMillFinalWeight;
    }

    public void setSteelMillFinalWeight(double steelMillFinalWeight) {
        this.steelMillFinalWeight = steelMillFinalWeight;
    }

    public String getSteelMillQualityPhoto() {
        return steelMillQualityPhoto;
    }

    public void setSteelMillQualityPhoto(String steelMillQualityPhoto) {
        this.steelMillQualityPhoto = steelMillQualityPhoto;
    }

    public String getSteelMillPoundPhoto() {
        return steelMillPoundPhoto;
    }

    public void setSteelMillPoundPhoto(String steelMillPoundPhoto) {
        this.steelMillPoundPhoto = steelMillPoundPhoto;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public boolean isDone() {
        return done;
    }

    public void setDone(boolean done) {
        this.done = done;
    }

    public OrderSendBean getOrderSend() {
        return orderSend;
    }

    public void setOrderSend(OrderSendBean orderSend) {
        this.orderSend = orderSend;
    }

    public OrderExternal getOrderExternal() {
        return orderExternal;
    }

    public void setOrderExternal(OrderExternal orderExternal) {
        this.orderExternal = orderExternal;
    }

    public ContractBean getContract() {
        return contract;
    }

    public void setContract(ContractBean contract) {
        this.contract = contract;
    }


    public static class ContractBean {
        /**
         * id : 1
         * createTime : 2020-01-13T15:07:10.000+0000
         * updateTime : 2020-01-13T15:07:10.000+0000
         * version : 0
         * deleted : false
         * createTimestamp : 1578928030000
         * updateTimestamp : 1578928030000
         * steelMillId : 10
         * sn : 合同编号1
         * steelMillName : 重刚
         * contractMaterialTypes : [{"id":1,"createTime":"2020-01-13T15:07:10.000+0000","updateTime":"2020-01-13T15:07:10.000+0000","version":0,"deleted":false,"createTimestamp":1578928030000,"updateTimestamp":1578928030000,"contractId":1,"materialTypeId":1,"contractWeight":0,"contractPrice":0,"completeWeight":0,"completePercent":0,"onWayWeight":0,"contractSn":"合同编号1","steelMillName":"重刚","materialTypeName":"重废一"}]
         */

        private int id;
        private String createTime;
        private String updateTime;
        private int version;
        private boolean deleted;
        private long createTimestamp;
        private long updateTimestamp;
        private int steelMillId;
        private String sn;
        private String steelMillName;
        private List<MaterialBean> contractMaterialTypes;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getVersion() {
            return version;
        }

        public void setVersion(int version) {
            this.version = version;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public long getCreateTimestamp() {
            return createTimestamp;
        }

        public void setCreateTimestamp(long createTimestamp) {
            this.createTimestamp = createTimestamp;
        }

        public long getUpdateTimestamp() {
            return updateTimestamp;
        }

        public void setUpdateTimestamp(long updateTimestamp) {
            this.updateTimestamp = updateTimestamp;
        }

        public int getSteelMillId() {
            return steelMillId;
        }

        public void setSteelMillId(int steelMillId) {
            this.steelMillId = steelMillId;
        }

        public String getSn() {
            return sn;
        }

        public void setSn(String sn) {
            this.sn = sn;
        }

        public String getSteelMillName() {
            return steelMillName;
        }

        public void setSteelMillName(String steelMillName) {
            this.steelMillName = steelMillName;
        }

        public List<MaterialBean> getContractMaterialTypes() {
            return contractMaterialTypes;
        }

        public void setContractMaterialTypes(List<MaterialBean> contractMaterialTypes) {
            this.contractMaterialTypes = contractMaterialTypes;
        }
    }

}
